package com.huilian.iotbox.admin.wap.service;

import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.dto.MerchantDto;
import com.huilian.iotbox.data.dto.MerchantPayCompanyDto;
import com.huilian.iotbox.data.po.Merchant;
import com.huilian.iotbox.data.po.MerchantPayCompany;
import com.huilian.iotbox.data.po.PayCompany;
import com.huilian.iotbox.data.vo.MerchantPayCompanyVo;

import java.util.List;

/**
 * @author 谢洛涛
 * @date 2021/6/4 16:29
 */
public interface MerchantPayCompanyService {
    Integer addMerchantPayCompany (MerchantPayCompany merchantPayCompany);

    ServerResponse findPayCompany(Merchant merchant);

    List<MerchantPayCompanyVo> findMerchantPayCompany(MerchantDto merchantDto);

    ServerResponse findYeahkaOpenSplitStatus(MerchantDto merchantDto);

    Integer update(MerchantPayCompanyDto merchantPayCompanyDto);

    ServerResponse findPayCompanyByApplet(String payCompanyCode);

    PayCompany finOnePayCompany(String payCompanyCode);
}

